package turing.forum;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
@EnableConfigurationProperties
public class TuringForumWebApplication {

    public static void main(String[] args) {
        SpringApplicationBuilder builder = new SpringApplicationBuilder(TuringForumWebApplication.class);
        builder.application().setAdditionalProfiles("dev");
        builder.run(args);
        System.out.println(
                "████████╗ ██╗   ██╗ ██████╗  ██╗ ███╗   ██╗  ██████╗ \n" +
                "╚══██╔══╝ ██║   ██║ ██╔══██╗ ██║ ████╗  ██║ ██╔════╝ \n" +
                "   ██║    ██║   ██║ ██████╔╝ ██║ ██╔██╗ ██║ ██║  ███╗\n" +
                "   ██║    ██║   ██║ ██╔══██╗ ██║ ██║╚██╗██║ ██║   ██║\n" +
                "   ██║    ╚██████╔╝ ██║  ██║ ██║ ██║ ╚████║ ╚██████╔╝\n" +
                "   ╚═╝     ╚═════╝  ╚═╝  ╚═╝ ╚═╝ ╚═╝  ╚═══╝  ╚═════╝ \n" +
                "                              NIIT-HNU 图灵学社四剑客组  \n"
        );
    }

}
